package ioc;

/**
 * Created by IntelliJ IDEA.
 * User: zm
 * Date: 2023/4/9
 */
public class Car {
    private Framework framework;
    public Car(Framework framework){
        this.framework = framework;
    }
    public void init(){
        System.out.println("执行Car");
        framework.init();
    }
}
